package demo;
public class Student {
    public String name;
    public int age;
    public static String classroom="117";
    public Student(String name, int age) {
        this.name = name;
        this.age = age;
    }

public static String classroom(){
        return classroom;
}
    public static void main(String[] args) {
        Student s1=new Student("张三",20);
        Student s2=new Student("李四",19);
        Student s3=new Student("王五",19);
        System.out.println(s1.classroom);
        System.out.println(s2.classroom);
        System.out.println(s3.classroom);
        System.out.println(Student.classroom());
    }
}
